package formbeans;

import java.util.ArrayList;
import java.util.List;

import org.mybeans.form.FormBean;

public class DeleteUserForm extends FormBean {
	
	private String deleteuserid;

	public String getDeleteuserid() {
		return deleteuserid;
	}

	public void setDeleteuserid(String deleteuserid) {
		this.deleteuserid = deleteuserid;
	}
	public List<String> checkDeleteUserFormErrors(){
		List<String> errors = new ArrayList<String>();	
		if (deleteuserid == null || deleteuserid.length() == 0){
			errors.add("Miss user id");
		}
		return errors;
	}
}